#include "Binding.h"

Binding::Binding(std::string n, std::string v){
	variableName = n;
	value =v;
}

Binding::Binding(){
	variableName= "";
	value = "";
}

//Binding::Binding(Binding &b){
//	variableName = b.getVariableName();
//	value = b.getValue();
//}

std::string Binding::getVariableName(){
	return variableName;
}

std::string Binding::getVariable(){
	return "?"+variableName;
}

std::string Binding::getValue(){
	return value;
}
Binding::~Binding(){}

void Binding::setVariableName(std::string n){
	variableName = n;
}

void Binding::setValue(std::string v){
	value = v;
}

std::string Binding::toString(){
	std::string info;
	info = variableName +"=" +value;
	return info;
}
